package com.xy.bizport.service.aidl;
import com.xy.bizport.data.MyThrowable; 
import com.xy.bizport.data.MyDate;

interface IXyRemoteCallable {
	boolean parseUtilMainJarIsReady();
	boolean isInitData();
 	String parseRecogniseValue(in String phoneNum, in String msg, in long msgTime, in String extend); 
 	String getRecogniseActionConfig(in String jsobj, in String extend);
 	 
 	String parseMsgToBaseMap(in String phoneNum,in String msg, in String extend);
 	String handerBubbleValueMap(in String extend);
 	
 	String parseVerifyCodeToMap(in String sender, in String content, in String extend);
 	
 	String catchUrls(in String msg, in String unionBy);
 	int parseSensitive(in String message);
 	
 	int getSmsTypeByMap(in String resultMap, in int juagetype);
 	
 	String getSmsType(in String orgValueMap);
 	
 	String handerNotificationValueMap(in String valueMap);
 	String handerDateValueMap(in String valueMap);
 	String handerRemindValueMap(in String valueMap);
 	String handerPayValueMap(in String valueMap);
 	String handerValueMap(in String valueMap);
 	String handerValueMapWithTitle(in String valueMap, in String titleNo);
 	void handleParseMsg(in String msgId, in String phoneNumber, in String smsCenterNum, in String smsContent, in long smsTime,
            in String extend, in String result);
 	
 	boolean isOperatorsPhoneType(in String phone);
 	String getBubbleViewVersion(in String extend);
 	String getSceneVersion();
 	
 	boolean isAppChannel(in String appKey);
 	
 	boolean isEnterpriseSms(in String phoneNumber, in String smsContent, in String extend);
 	int getActionCode(in String action);
 	String[] parseMsgToNewContacts(in String phonenum, in String msg, in String oldContact, in String[] contactNames);
 	int isServiceChoose(in String channel, in String type);
 	String handerValueMapByType(in int type, in String valueMap);
 	String handerWatchValueMap(in String valueMap) ; 
 	String handerContactValueMap(in String valueMap) ;
 	String handerBoxValueMap(in String valueMap);
 	String getCmd(in String phoneNum, in String msg);
 	
 	String parseMsgForCardArray(in String jsobj, in String extend);
 	String multiReplace(in String msg);
 	String[] parseShard(in String msg, in String msgIdx, in String msgMd);
 	String parseEmail(in String fromUser, in String content, in String extend);
 	
 		// OnlineUpdateCycleConfig
	boolean isOnOff(in int type, in String appKey);
	String getConfigData(in int type, in String appKey, in String appVersion, in String uiVersion, in int menuId);
	String getConfigString(in int type, in String extend);
	long getUpdateCycle(in int type, in long defaultValue);
	// LogService
	void saveLogIn(in String uuid, in String className, in String methodName, in String[] args);
	void saveLogOut(in String uuid, in String className, in String methodName, in String[] args);
	void saveLogException(in String className, in String methodName, in MyThrowable t);
	void insertLog(in String table, in String sql, in String value);
	void deleteLog(in String table, in String sql, in String whereArgs);
	String queryLog(in String table, in String sql, in String[] columns, in String whereArgs, in String orderBy, in String limit);
	String queryLogByType(in int type, in String channel, in String appVersion);
	void postLogCallback(in int type, in String data);	
    // CorpSign
    String getCorp(in String msg);
    String[] getCorpAndEc(in String msg);
    // DateTimeNormalizer
	MyDate convertDate(String dateString, in MyDate timeBase, boolean autoFill, boolean ignoreIfNoDate);
	long convertDateLong(String dateString, in MyDate timeBase, boolean autoFill, boolean ignoreIfNoDate, boolean maxThanBaseTime);
}